if(sessionStorage.getItem("adminAccount")==null){
    location.href="AdminLogin"
}
var iframe = $(".myIframe")
$(".StudentManage").on("click",function(){
    iframe.attr('src','StudentManage')
})
$(".TeacherManage").on("click",function(){
    iframe.attr('src','TeacherManage')
})
$(".ClazzManage").on("click",function(){
    iframe.attr('src','ClazzManage')
})

$(".UserName").text(sessionStorage.getItem("adminAccount"))
$(".Adminicon").attr("src",sessionStorage.getItem("adminIcon"))
$(".ReturnLogin").on("click",function(){
    location.href="AdminLogin"
})